package vip.mall.modular.orderAddress.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ASUS
 * @Date 2025/2/21 22:10
 * @Descripition
 */
@TableName("sys_order_address")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "订单地址实体类")
public class OrderAddress {
    @TableId
    @Schema(description = "订单地址ID")
    private String id;
    @Schema(description = "用户ID")
    private String userId;
    @Schema(description = "地址名称")
    private String addressName;
    @Schema(description = "地址电话")
    private String addressPhone;
    @Schema(description = "地址详情")
    private String addressDetail;
    @Schema(description = "是否默认地址")
    private Integer isDefault;
}
